import req from '@/utils/req'

//字典
//获得列表
export function getDictList(obj) {
  return req.post('/dict/list',obj)
}
//新建
export function createDict(obj) {
  return req.post('/dict/add',obj)
}
//获得某条的详情
export function detailRow(obj) {
  return req.get('/dict/getDict', obj)
}
//修改
export function updateDict(obj) {
  return req.post('/dict/update',obj)
}
//删除
export function delRow(obj) {
  return req.post('/dict/delete',obj)
}
